</div>
</body>
<script src="__JQUERY__/jquery-3.3.1.js"></script>
<script src="__JS__/bootstrap.js"></script>
<script>
    var quantity = document.getElementById("quantity");
    addQuantity = function (max) {
        if (quantity.value < max) {
            quantity.value++;
        }
    };
    subQuantity = function () {
        if (quantity.value > 1) {
            quantity.value--;
        }
    }
    isBlank = function (max) {
        if (quantity.value == '') {
            quantity.value = 1;
        }
        if (quantity.value > max) {
            quantity.value = max;
        }
    }
</script>
</html>